package gui;

import processing.core.PApplet;
import processing.core.PImage;
import controlP5.ControlCanvas;

public class AtaqueCanvas extends ControlCanvas {

	PImage a1cm, a1my, a1cy,a2;
	
	public AtaqueCanvas(PImage a1cm, PImage a1my, PImage a1cy, PImage a2) {
		this.a1cm = a1cm;
		this.a1my = a1my;
		this.a1cy = a1cy;
		
		this.a2=a2;
	}
	
	@Override
	public void draw(PApplet app) {
		app.image(a1cm, 20,120);
		app.image(a1my, 20+a1cm.width+20, 120);
		app.image(a1cy, 20+a1cm.width+20+a1my.width+20, 120);
		app.image(a2, 20, 120+a1cm.height+20);
	}

}
